﻿using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class BalanceCenter_BounsRule : PageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack)
        {
            BindData();
        }
    }

    #region Web 窗体设计器生成的代码

    override protected void OnInit(EventArgs e)
    {
        isRequestLogin = true;
        RequestLoginPage = this.Request.Url.AbsoluteUri;

        base.OnInit(e);
    }

    #endregion

    private void BindData()
    {
        string Type = Shove._Web.Utility.GetRequest("Type");

        if (Type == "Plan")
        {
            lbTitle.Text = "市场计划说明";
            labContent.Text = PublicFunction.GetOptionsBin("市场计划");
        }
        else if (Type == "Register")
        {
            lbTitle.Text = "注册协议说明";
            labContent.Text = PublicFunction.GetOptionsBin("注册协议");
        }
        else if (Type == "Surrogate")
        {
            lbTitle.Text = "代理商协议说明";
            labContent.Text = PublicFunction.GetOptionsBin("代理商协议");
        }
    }
}
